//#include "../baseSDLInclude/includer.h"

#ifndef FLUMPDEFAULT_
#define FLUMPDEFAULT_
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include <iostream>
#include <sstream>
#endif /*FLUMPDEFAULT_*/
using namespace std;

class FlumpDefault {
private:
	int centralX, centralY , headX, headY, leftFootX, leftFootY, leftHandX, leftHandY, rightFootX, rightFootY, rightHandX, rightHandY;
	
	bool breathUp;
	int breathe;
	int breathRate;
	
	
	bool forwardsAnim;
	bool showBlink;
	int blinkCount;
	
	bool runningAnim;
	bool rightArmForward;
	bool leftArmForward;
	int rightArmRange;
	int leftArmRange;
	
	
	
	int xVel, yVel, leftHvelX, rightHvelX;
	int frame;
	int iter;
	SDL_Surface* body;
	SDL_Surface* rightArm;
	SDL_Surface* leftArm;
	SDL_Surface* rightFoot;
	SDL_Surface* leftFoot;
	SDL_Surface* face;
	SDL_Rect clip[6];
	SDL_Rect shownClip;
	
public:
	FlumpDefault();
	void handleInput(SDL_Event event);
	void blink();
	void stoppedAnimate();
	void move();
	void runningAnimation();
	void setDefaultLimbPositions();
	void show(SDL_Surface* initial);
	void loadDefaultAssets();
	SDL_Surface*  loadImage( std::string filename ); 
};


